package yxk.task;

import kd.bos.context.RequestContext;
import kd.bos.exception.KDException;
import kd.bos.schedule.executor.AbstractTask;
import yxk.utils.DateUtil;

import java.util.Date;
import java.util.Map;

/**
 * 实时取卡匹配
 */
public class MatchresultRealTimeTask extends AbstractTask {
    @Override
    public void execute(RequestContext requestContext, Map<String, Object> map) throws KDException {
        Date today = new Date();
      //  Date expectStartDate = WTCDateUtils.getBeginDayOfMonth(today);
        Date zero = DateUtil.getZero(new Date());
            MatchresultTask matchresultTask=new MatchresultTask();
            matchresultTask.startMatchScheduledTask(zero,zero);
    }
}
